<?php


/**
 * @apiVersion 1.0.0
 * @api {post}  /mall/home/config  <newapi>[新]</newapi>公共-商城配置
 * @apiName com_config
 * @apiGroup common
 *


 *
 * @apiSuccess {Number} code 返回信息码 0 表示查询正常
 * @apiSuccess {String} msg 返回说明信息
 * @apiSuccess {String} data 数据层

 *
 * @apiSuccessExample Success-Response:
{"code":0,"msg":"ok","data":{"reg_type":4,"shop_name":"bs-shop购物商城","gift_order_point":2}}
 *
 */


/**
 * @apiVersion 1.0.0
 * @api {post}  /mall/active/coupon  <newapi>[新]</newapi>公共-获取优惠券列表
 * @apiDescription 后台营销插件》配置优惠券》前端接口查询》显示》用户领取》下单抵扣；目前默认mall/active/coupon.html是领取页面
 * @apiName com_coupon
 * @apiGroup common
 *


 *
 * @apiSuccess {Number} code 返回信息码 0 表示查询正常
 * @apiSuccess {String} msg 返回说明信息
 * @apiSuccess {String} data 数据层

 *
 * @apiSuccessExample Success-Response:
{"code":0,"msg":"ok","data":[{"name":"测试","price":"8.5折","min_price":"0.00","start_time":"2023.04.30","end_time":"2023.05.04","status":1,"type":2,"remark":"","code":"996944595694","discount":85,"enabled":0,"type_desc":"折扣券"},{"name":"满10减1元","price":"1.00","min_price":"10.00","start_time":"2023.04.30","end_time":"2023.08.31","status":1,"type":1,"remark":"购买满10元可以抵扣1元，不累计","code":"143352154141","discount":0,"enabled":1,"type_desc":"满减券"}]}
 *
 */
